#include <stdio.h>	
int main()
{

        int a, b, t = 0;
        scanf_s("%d %d", &a, &b);
        t = a;
        a = b;
        b = t;
        printf("%d %d", a, b);
    
    
	return	0;
}